<?php

use think\facade\Route;

Route::get('p/:id','Post/detail');
Route::get('cate/:id','Post/category');